# -*- conding:UTF-8 -*-

'''
@ Project: p7_flask
@ File: manage.py
@ Author: 师路遥
@ Date：2022/6/6 13:41

'''

from flask_migrate import MigrateCommand,Migrate
from flask_script import Manager
from main import app
from models import db
from models.user import *

manage = Manager(app)
migrate = Migrate(app,db)
manage.add_command('db',MigrateCommand)

if __name__ == '__main__':
    manage.run()
